package com.qhy.springcloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


/**
 * @author qiuhongyu
 * @date 2020/9/25 17:31
 */
@SpringBootApplication
@MapperScan("com.qhy.springcloud.dao")
@EnableDiscoveryClient  //将服务注册到zk
public class ProviderApplication_8001 {
    public static void main(String[] args) {
        try {
            SpringApplication.run(ProviderApplication_8001.class, args);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
